#root {
  min-width: 100vw;
  height: 100vh;
}

.app {
  font-size: 1.6rem;

  @media screen and (max-width: 960px) {
    font-size: 1.4rem;
  }

  .aside {
    position: fixed;
    z-index: 10;
    left: 0;
    height: 100vh;
    overflow-y: auto;

    .logo {
      height: 3rem;
      margin: 1rem;
      box-sizing: border-box;
      border-radius: 1rem;
      border-radius: 1rem;
      padding: 0 1rem;
      text-align: center;
      color: #fff;

      img {
        height: 100%;
      }
    }
  }

  .header {
    background-color: #fff;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;

    .right {
      display: flex;
      align-items: center;
    }
  }

  .content {
    padding: 10px 1.5rem;
    width: auto !important;
  }

  .footer {
    text-align: center;
  }
}

// 新增布局样式
.p-layout-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 20px 16px;


  .p-search-box {
    width: 100%;
    background-color: #fff;

    .ant-form {
      flex-wrap: wrap;
    }
  }

  .p-layout-content,
  .p-layout-content-pagination {
    flex-grow: 1;
    background-color: #fff;
    overflow-y: auto;
    margin: 15px 0;
  }

  .p-layout-content-pagination {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
  }

  .p-page-box {
    width: 100%;
    height: 60px;
    padding: 15px 0 10px;
    background-color: #fff;
    text-align: center;
  }

  .p-select-width {
    width: 150px;
  }

  .p-white-space {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

}

.p-details-item {
  line-height: 32px;
  margin-bottom: 0;
}

.header-time-box {
  width: 100%;
  position: relative;

  h1 {
    position: absolute;
    left: 50px;
  }

  span {
    position: absolute;
    right: 20px;
    font-size: 14px;
  }
}

#root,
.app,
.ant-spin-blur,
.page-loading {
  height: 100%;
}

.page-loading>div {
  height: 100%;
}

.p-text-align {
  text-align: center;
}

.ant-spin-nested-loading>div>.ant-spin {
  max-height: 100%;
}

.ant-layout-sider,
.ant-menu-dark .ant-menu-inline.ant-menu-sub,
.ant-menu.ant-menu-dark,
.ant-menu-dark .ant-menu-sub,
.ant-menu.ant-menu-dark .ant-menu-sub {
  background: #1e1e28;
}

.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected,
.ant-menu-dark .ant-menu-item:hover {
  background-color: #0f1012;
}

.ant-layout-sider {
  position: relative;
  z-index: 11
}

.ant-tag-hidden {
  display: block !important;
}

.ant-input-number {
  width: 100%;

  .ant-input-number-handler-wrap {
    display: none;
  }
}

.ant-tabs {
  height: 100%;

  .ant-tabs-content-holder {
    height: 100%;

    .ant-tabs-content {
      height: 100%;
    }
  }
}
.ant-dropdown-name{
  margin-right: 10px;
}
.ant-table-cell{
    white-space: pre;
}
